<template lang="html">
  <div class="m-detail-list">
    <ul>
      <li>{{foodList.total}}个商品</li>
      <item
        v-for="(item,idx) in foodList.list"
        :key="idx"
        :meta="item" />
    </ul>
  </div>
</template>

<script>
import Item from "./item.vue";
export default {
  components: {
    Item
  },
  props: ["foodList"]
};
</script>
